package com.zzyl.serve.vo;

import com.zzyl.serve.domain.NursingProject;
import lombok.Data;

import java.io.Serializable;

@Data
public class NursingProjectVo  {
    private static final long serialVersionUID = 1L;
    /**
     * 项目名称
     */
    private String label;

    /**
     * 项目ID
     */
    private String value;

    public NursingProjectVo(NursingProject norsingProject) {
        this.label = norsingProject.getName();
        this.value = norsingProject.getId().toString();
    }
}